//
//  LKHomeNoticeDetailCell.m
//  YLHelper
//
//  Created by she1323 on 2018/5/29.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import "LKHomeNoticeDetailCell.h"
@interface LKHomeNoticeDetailCell()

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (weak, nonatomic) IBOutlet UILabel *companyLabel;

@property (weak, nonatomic) IBOutlet UILabel *timeLabel;

@end

@implementation LKHomeNoticeDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setModel:(LKYunYingNoticeModel *)model{
    _model = model;
    self.titleLabel.text = model.notifyTitle;
//    self.companyLabel.text = @"上海银来资产";
    self.timeLabel.text = [[model.entryTimeText componentsSeparatedByString:@" "] firstObject];
    self.contentLabel.text = model.notifyContent;
}
-(void)setSheduleModel:(LKScheduleListModel *)sheduleModel{
    _sheduleModel = sheduleModel;
    self.titleLabel.text = sheduleModel.calenderName;
//    self.companyLabel.text = @"上海银来资产";
    self.timeLabel.text = sheduleModel.entryTimeText;
    self.contentLabel.text = sheduleModel.calenderContent;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
